<template>
  <div class="content">
    <NewScroll class="sco" />
    <NewScroll class="sco" />
    <div class="xinxi">
      <div class="house">
        <img class="bgImg" src="../assets/images/img02_1_pc.png" alt="" />
        <img class="house wow animate__animated animate__bounceIn animate__delay-1s" src="../assets/images/img02_3_pc.png" alt="" />
        <img class="bN" src="../assets/images/img02_6_pc.png" alt="" />
        <img class="sN" src="../assets/images/img02_7_pc.png" alt="" />
        <img class="cao" src="../assets/images/img02_8_pc.png" alt="" />
        <img
          class="lT wow animate__animated animate__bounceIn animate__delay-1s"
          src="../assets/images/img02_5_pc.png"
          alt=""
        />
        <img
          class="rT wow animate__animated animate__bounceIn animate__delay-1s"
          src="../assets/images/img03_2_pc.png"
          alt=""
        />
      </div>
      <div class="msg">
        <!-- <img src="../assets/images/about_txt01_pc.png" alt="" /> -->
        <div class="jieshao1 wow animate__animated animate__fadeIn animate__delay-1s">{{ $t("home.jieshao1") }}</div>
      </div>
    </div>
    <div class="yang">
      <img class="yangbg" src="../assets/images/img07_1_pc.png" alt="" />
      <img class="yangTree wow animate__animated animate__bounceIn animate__delay-1s" src="../assets/images/img07_2_pc.png" alt="" />
      <img class="bY wow animate__animated animate__fadeInLeft animate__delay-1s" src="../assets/images/img04_3_pc.png" alt="" />
      <img class="sY wow animate__animated animate__bounceIn animate__delay-1s" src="../assets/images/img04_4_pc.png" alt="" />
    </div>
    <div class="video wow animate__animated animate__fadeIn animate__delay-1s">
      <video
        src="../assets/images/501623569.sd.mp4"
        muted
        autoplay
        loop
      ></video>
    </div>
    <div class="tree">
      <img class="treeBg" src="../assets/images/img03_1_pc.png" alt="" />
      <img class="flower" src="../assets/images/img03_3_pc.png" alt="" />
      <img
        class="lTree wow animate__animated animate__bounceIn animate__delay-1s"
        src="../assets/images/img03_2_pc.png"
        alt=""
      />
      <img class="rTree" src="../assets/images/img03_4_pc.png" alt="" />
    </div>
    <img class="he" src="../assets/images/river_pc.png" alt="" />
    <NewScroll class="sco" />
    <NewScroll class="sco" />
    <NewScroll class="pos" />
    <div class="lang">
      <!-- <img class="text" src="../assets/images/about_txt02_pc.png" alt="" /> -->
      <div class="jieshao2 wow animate__animated animate__fadeIn animate__delay-1s">{{ $t("home.jieshao2") }}</div>
      <img class="langBg" src="../assets/images/img05_1_pc.png" alt="" />
      <img class="player wow animate__animated animate__fadeInTopLeft animate__delay-1s" src="../assets/images/img05_4_pc.png" alt="" />
      <img class="langTree wow animate__animated animate__bounceIn animate__delay-1s" src="../assets/images/img05_3_pc.png" alt="" />
      <img class="shu" src="../assets/images/img05_2_pc.png" alt="" />
      <img class="mTree" src="../assets/images/img08_3_pc.png" alt="" />
    </div>
  </div>
</template>

<script>
// 导入wow滚动加载动画
import { WOW } from "wowjs";
const NewScroll = () => import("../components/scroll/NewScroll.vue");
export default {
  components: {
    NewScroll,
  },
  mounted() {
    // wow = new WOW({
    //   boxClass: "wow", // default
    //   animateClass: "animated", // default
    //   offset: 0, // default
    //   mobile: true, // default
    //   live: true, // default
    // });
    // wow.init();
    new WOW().init()
  },
};
</script>

<style lang="less" scoped>
// 页面文本
.jieshao1 {
  font-weight: 900;
  position: relative;
  top: 100px;
  font-size: 25px;
}
.jieshao2 {
  z-index: 100;
  position: relative;
  top: 100px;
  left: 350px;
  font-weight: 900;
  width: 800px;
  height: 420px;
  font-size: 25px;
}
.content {
  position: relative;
  min-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 500px;
  .lang {
    position: absolute;
    bottom: 0;
    .text {
      position: absolute;
      left: 300px;
      top: -220px;
      @media screen and (max-width: 420px) {
        left: 10px;
        width: 300px;
        height: 150px;
      }
    }
    .langBg {
      z-index: 100;
      position: absolute;
      right: -850px;
      top: -100px;
      @media screen and (max-width: 420px) {
        right: -450px;
        top: -780px;
        width: 500px;
      }
    }
    .player {
      z-index: 600;
      position: absolute;
      right: -850px;
      top: -100px;
      @media screen and (max-width: 420px) {
        right: -400px;
        top: -650px;
        width: 330px;
      }
    }
    .langTree {
      z-index: 500;
      position: absolute;
      right: -850px;
      top: -100px;
      @media screen and (max-width: 420px) {
        right: -380px;
        top: -630px;
        width: 300px;
      }
    }
    .shu {
      z-index: 100;
      position: absolute;
      right: -850px;
      top: -100px;
      @media screen and (max-width: 420px) {
        right: -400px;
        top: -630px;
        width: 300px;
      }
    }
    .mTree {
      z-index: 100;
      position: absolute;
      right: -0;
      top: -0;
      display: none;
      @media screen and (max-width: 420px) {
        right: -400px;
        top: -630px;
        width: 300px;
      }
    }
  }
  .pos {
    z-index: 10;
    position: absolute;
    top: 650px;
    left: 0;
  }
  .sco {
    width: 1400px;
    height: 258px;
  }
  .he {
    // margin: 0 auto;
    z-index: 100;
    position: absolute;
    top: 430px;
    left: -800px;
    @media screen and (max-width: 420px) {
      top: 200px;
    }
  }
  .tree {
    // position: relative;
    // width: 1200px;
    // margin: 0 auto;
    // z-index: 100;
    @media screen and (max-width: 420px) {
      display: none;
    }
    .treeBg {
      z-index: 15;
      position: absolute;
      right: -300px;
      top: 250px;
    }
    .flower,
    .lTree {
      z-index: 15;
      position: absolute;
      right: -260px;
      top: 250px;
    }
    .rTree {
      z-index: 15;
      position: absolute;
      right: -300px;
      top: 250px;
    }
  }
  .yang {
    position: relative;
    top: -270px;
    // width: 1200px;
    // margin: 0 auto;
    // z-index: 100;
    @media screen and (max-width: 420px) {
      display: none;
    }
    .yangbg {
      z-index: 10;
      position: absolute;
      left: -50px;
      top: 860px;
    }
    .yangTree {
      z-index: 150;
      position: absolute;
      left: -80px;
      top: 760px;
    }
    .bY,
    .sY {
      z-index: 500;
      position: absolute;
      left: -80px;
      top: 760px;
    }
    .sY {
      animation: yang 0.8s infinite linear;
    }
    @keyframes yang {
      25% {
        top: 765px;
      }
      50% {
        top: 762px;
      }
      75% {
        top: 764px;
      }
    }
  }
  .video {
    // width: 1200px;

    min-height: 600px;
    position: relative;
    top: 150px;
    z-index: 200;
    background: url("../assets/images/about_movie_base.png") center no-repeat;
    margin-top: 100px;
    @media screen and (max-width: 420px) {
      position: relative;
      right: -18px;
      width: 340px;
      top: -40px;
      min-height: 300px;
      background-size: 340px;
    }

    video {
      z-index: 500;
      margin: 0 auto;
      // position: absolute;
      top: 0;
      // left: 18.5%;
      margin-top: 30px;
      z-index: 200;
      border-radius: 15px;
      @media screen and (max-width: 420px) {
        margin-top: 5px;
        width: 320px;
        height: 300px;
        top: 0;
        left: 10px;
      }
    }
  }
  .xinxi {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 100px;
    .msg {
      margin-left: 580px;
      margin-top: -500px;
      @media screen and (max-width: 420px) {
        margin-left: -725px;
        img {
          position: relative;
          width: 200px;
          height: 180px;
          margin-top: -40px;
          margin-bottom: 50px;
        }
      }
      img {
        position: relative;
        top: 100px;
        z-index: 100;
      }
    }
    .house {
      position: absolute;
      left: -320px;
      z-index: 110;
      top: 20px;
      @media screen and (max-width: 420px) {
        left: -250px;
        img {
          width: 400px;
        }
      }
      .bgImg {
        position: absolute;
        left: -200px;
        top: 0;
        z-index: 100;
        @media screen and (max-width: 420px) {
          width: 400px;
          left: -10px;
          top: 120px;
        }
      }
      .bN,
      .sN {
        z-index: 150;
        position: absolute;
        left: -200px;
        top: 20px;
        @media screen and (max-width: 420px) {
          width: 350px;
          left: 30px;
          top: 150px;
        }
      }
      .cao,
      .lT {
        z-index: 149;
        position: absolute;
        top: 20px;
        left: -200px;
      }
      .rT {
        z-index: 105;
        position: absolute;
        left: 370px;
        top: -170px;
        @media screen and (max-width: 420px) {
          width: 400px;
          left: 120px;
          top: -50px;
        }
      }
    }
  }
}
</style>>